#ifndef _APP_WIN_HPP_
#define _APP_WIN_HPP_

#include "ui_gps.h"

class QKeyEvent;

using namespace Ui;

class AppWin: public QMainWindow
{
  Q_OBJECT

Q_SIGNALS:
  void reload();

public Q_SLOTS:
  void on_zin_click();

  void on_zout_click();

  // 根据位置和放大倍数来改变要显示的图片
  void on_reload( void );

public:
  AppWin( void );
  ~AppWin( );

  void post_reload( void );

private:
  MainWindow  window;

protected:
  void keyPressEvent( QKeyEvent * event );
};

#endif						\
